package core.spring.ext;

import javax.servlet.ServletContext;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;

public class CustomContextLoader extends ContextLoader {

	public CustomContextLoader(){
		super();
	}
	
	protected WebApplicationContext createWebApplicationContext(
			ServletContext servletContext, ApplicationContext parent) throws BeansException {
		WebApplicationContext wac = super.createWebApplicationContext(servletContext, parent);
		
		
		return wac;
	}
}
